Feature: EventPreprocessor#2928
Merged
Merged
Conversation
maxnoe
reviewed
Jan 28, 2026
maxnoe
reviewed
Jan 28, 2026
FOV coordinates are now in the ctapipe nominal frame. The conversion to GADF with negative lon, should be done explicitly on export if needed.
11b0493 to
87b43dc
Compare
maxnoe
reviewed
Jan 28, 2026
maxnoe
reviewed
Jan 28, 2026
maxnoe
reviewed
Jan 28, 2026
maxnoe
reviewed
Jan 28, 2026
720e800 to
096fd64
Compare
add280f to
88657f5
Compare
maxnoe
previously approved these changes
Feb 2, 2026
Member
|
@mdebony This is intended for DL2 to DL3, so please take a look here. I think it would be good to get this in and then use it in the DL2 to DL3 tool |
Voutsi
reviewed
Feb 12, 2026
Voutsi
reviewed
Feb 12, 2026
mexanick
reviewed
Feb 12, 2026
|
Voutsi
approved these changes
Feb 19, 2026
mdebony
requested changes
Feb 19, 2026
Contributor
mdebony
left a comment
There was a problem hiding this comment.
Seems very usefull for DL3 production, I've added a small suggestion in the comments.
This was referenced Feb 23, 2026
Contributor
|
@mdebony could this be moved on? |
mdebony
approved these changes
Mar 3, 2026
Contributor
|
Yes, it's can move on. |
maxnoe
approved these changes
Mar 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Introduces an
EventPreprocessorclass that can generically transform an event table by applying the following steps:FeatureGeneratorQualityQueryfeaturesconfiguration attribute of theEventPreprocessor)This is useful for doing the final steps of DL2 processing, and will eventually replace what is in
DL2EventPreprocessorandDL2EventLoader, which will be deprecated in a future release.The
EventPreprocessoralso includes the ability to pre-configure itself for specific use cases by setting thefeature_setoption. Currently only twoProcessingFeatureSetare implemented:feature_set=dl2_irf, which defines the transforms, event selection, and output features for processing simulated DL2 events, andfeature_set=custom, which has no pre-configuration and requires all parmeters to be set in a config file.The functionality of
DL2EventLoadercan be mimicked with the following:this comes from the refactoring of DL2EventLoader in #2919
An example configuration, equivalent to the
dl2_irffeature_set is: